#include "CPlayerMgr.h"
#include "ProtoDispatch.h"
#include "stl_boost.h"

using namespace su;
using namespace std;
using namespace proto;


CPlayer::CPlayer()
	: m_Base(*this)
	, m_Net(*this)
	, m_Login(*this)
{

}


void CPlayer::InitNewPlayer(const std::string& accName, uint64 id, const std::string& name)
{
//	MsgDispatch::Ins().RegMsgHandler(3,TTT3);
}

void CPlayer::Send(uint32 cmdId, const google::protobuf::Message& msg)
{
	m_Net.Send(cmdId, msg);
}



